<template>
  <div>
    <p>Child...</p>
    <p>{{ value }}</p>
    <button @click="$emit('input', value + 1)">更新</button>
  </div>
</template>

<script>
export default {
  name: "Child",
  props: {
    value: Number,
  },
  mounted() {
    console.log(this);
  },
};
</script>

<style></style>
